//
//  ViewController.h
//  SuperLight
//
//  Created by Charlie Liao on 14-4-24.
//  Copyright (c) 2014年 Charlie Liao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LightController.h"

@interface MainViewController : UIViewController
<
 UICollectionViewDataSource,
 UICollectionViewDelegate
>
{
    LightController* lightController;
}

@property (weak, nonatomic) IBOutlet UISlider *brightnessSlider;
@property (weak, nonatomic) IBOutlet UICollectionView *colorCollectionView;

- (IBAction)onClickOnBtn:(id)sender;

- (IBAction)onClickOffBtn:(id)sender;

- (IBAction)onClickWhiteBtn:(id)sender;

- (IBAction)onClickRedBtn:(id)sender;

- (IBAction)onClickGreenBtn:(id)sender;

- (IBAction)onClickBlueBtn:(id)sender;

- (IBAction)brightnessValueChanged:(id)sender;

@end
